Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support session token in AWS credentials #1601

Merged
merged 1 commit into from
Apr 20, 2015

Conversation

bitglue
Copy link

@bitglue bitglue commented Apr 20, 2015

Session tokens are necessary to utilize temporary credentials.
http://docs.aws.amazon.com/STS/latest/UsingSTS/Welcome.html

@radeksimko
Copy link
Member

See #1049 although it's a bit bigger chunk of work, so this may do for the moment.

Optional: true,
DefaultFunc: schema.MultiEnvDefaultFunc([]string{
"AWS_SESSION_TOKEN",
}, nil),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Set this nil to "" to prevent the interactive input UI from asking for it. Its unlikely if you're using interactive input that you'll have this.

@mitchellh
Copy link
Contributor

LGTM except for one comment. Yeah @radeksimko easier to get in this smaller change to start. :)

Session tokens are necessary to utilize temporary credentials.
http://docs.aws.amazon.com/STS/latest/UsingSTS/Welcome.html
@bitglue
Copy link
Author

bitglue commented Apr 20, 2015

@mitchellh done.

@mitchellh
Copy link
Contributor

Restarted tests to verify everything is good, then will merge. Thanks!

mitchellh added a commit that referenced this pull request Apr 20, 2015
provider/aws: support session token in AWS credentials
@mitchellh mitchellh merged commit c8a8f05 into hashicorp:master Apr 20, 2015
@bitglue bitglue deleted the sts_token branch July 10, 2015 16:36
@ghost
Copy link

ghost commented May 1, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators May 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants